package com.s2u2m.training.ex_programmer.open_closed.good;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class Rectangle implements Area {
    private final long length;
    private final long width;

    @Override
    public Long getArea() {
        return length * width;
    }
}
